package com.demo.dao.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RegisterMapper {

    //查找用户注册信息
    List<Register> checkRegister(@Param("personId") String personId);

    Login selectLoginElement(@Param("personId") String personId, @Param("phoneNumber") String phoneNumber);

    Login selectLoginElementByPersonId(@Param("personId") String personId);

    void deleteTVerifyIdCardPhone(@Param("phoneNumber") String phoneNumber);
    void deleteTVerifyIdCardDevice(@Param("deviceCode") String deviceCode);
    void deleteBlockInfoPhone(@Param("phoneNumber") String phoneNumber);
    void deleteBlockInfoDevice(@Param("deviceCode") String deviceCode);

}
